﻿using System.Xml.Serialization;

namespace GISUtil.KML
{
  /// <summary>
  /// Corresponds to when the display will be refreshed
  /// </summary>
  public enum RefreshMode
  {
    /// <summary>
    /// When the file is loaded or changed.
    /// </summary>
    [XmlEnum(Name = "onChange")]
    OnChange,

    /// <summary>
    /// Every X seconds.
    /// </summary>
    [XmlEnum(Name = "onInterval")]
    OnInterval,

    /// <summary>
    /// When an expiratoin time is reached.
    /// </summary>
    [XmlEnum(Name = "onExpire")]
    OnExpire
  }
}